package com.datang.springcode.annoRegisterBean;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.core.annotation.AliasFor;
import org.springframework.stereotype.Component;

//@Component标识这个类，需要被注册.value指定bean的名称
@Component(value = "pear")
public class Pear {
}
